import http from '../utils/httpRequest'

export default {
  getCategoryTree(){
    return http({
      url:`${window.SITE_CONFIG.baseUrl}/pms/category/treeCategoryList`,
      method: 'get',
    });
  },

  findCategoryIdPath(categoryId){
    return http({
      url:`/pms/category/findCategoryIdPath/${categoryId}`,
      method:'get'
    });
  },
  getCategoryInfoByCategoryId(categoryId){
    return http({
      url:`/pms/category/info/${categoryId}`,
      method:'get'
    });
  }
}
